{include file="public/head"}

<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    </ol>
    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
        <div class="item active">
            <img src="{$index['img']}/slide1.jpg" alt="...">
        </div>
        <div class="item">
            <img src="{$index['img']}/slide2.jpg" alt="...">
        </div>
    </div>
    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>

<div class="main" style="position: relative;">
    <div class="fix_bg"><img src="{$index['img']}/ewm.jpg" width="150" height="150"></div>
    <div class="container">
        <div class="fix">
            <ul>
                <li><a href="http://wpa.qq.com/msgrd?v=3&uin=597742892&site=qq&menu=yes" target="_blank"><img src="{$index['img']}/QQ.png"></a></li>
                <li class="fix_wei fix_wei2 "><img src="{$index['img']}/wei.png"><div class="fix_out_div"><img src="{$index['img']}/ewm.jpg" width="150" height="150"></div></li>
                <li class="fix_wei"><a href="tel:1300000000"><img src="{$index['img']}/phone.png"><div class="fix_wei_phone"><h1>1300000000</h1></div></a></li>
            </ul>
        </div>
        <script type="text/javascript">
            var fixheight = $(document).height()
            $('.fix_bg').height(fixheight)
            $(document).ready(function(){
                if($(window).width() < 1025){
                    $('.fix_wei2').addClass('fix_out');
                } else{
                    $('.fix_wei2').removeClass('fix_out');
                }

                $('.fix_out').click(function(){
                    $('.fix_bg').fadeToggle()
                })
                $('.fix_bg').click(function(){
                    $('.fix_bg').fadeToggle()
                })
            })
        </script>
        <div class="row">
            <div class="main_left col-md-3 hidden-xs hidden-sm">
                <ul class="left_nav">
                    {include file="public/left"}
                </ul>
            </div>
            <div class="main_right col-md-8 col-xs-12">
                <div class="detail">
                    <div class="detail_top">
                        <h2>{$detail['title']}</h2>
                        <dl>
                            <!--<dt>作者：2134</dt>-->
                            <dd>时间：{$detail['inputtime']|date="Y-m-d H:i",###}</dd>
                            <dd>浏览量：{$detail['viewcount']}</dd>
                        </dl>
                    </div>
                    <div class="detail_main">
                      <p> {$detail['content']}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="foot">
    <div class="container">
        <p>Powered by 驾照网 c 2008-2017 JIAZHAO 闽ICP备17003705号-12</p>
        <p>58赶集集团旗下网站</p>
    </div>
</div>
</body>
</html>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="js/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="js/bootstrap.min.js"></script>